A classical view of object-oriented cohesion and coupling

نویسندگان

  • AARON B. BINKLEY
  • STEPHEN R. SCHACH
  • Stephen R. Schach
چکیده

AARON B. BINKLEY AND STEPHEN R. SCHACH Computer Science Department, Vanderbilt University, Box 1679, Station B, Nashville, TN 37235, USA. __________________________________________________________________ Contact: Stephen R. Schach Computer Science Department, Vanderbilt University Box 1679, Station B, Nashville, TN 37235 ☎ 615/322-2924 Fax 615/343-5459 E-mail: [email protected] __________________________________________________________________ The cohesion of a class or object is equivalent to the cohesion of a module; that is, it can be expressed in terms of the cohesion of a module at an equivalent level of abstraction. Similarly, the coupling between classes and objects always corresponds to classical (module-based) coupling. It is therefore a source of confusion to refer to object-oriented cohesion or object-oriented coupling. These results are then extended to object-oriented metrics in general. For a metric to be strictly object-oriented, it is necessary for that metric to be inheritance-related. But inheritance, though necessary, is not sufficient; for example, coupling in the object-oriented paradigm can be induced by inheritance, but is nevertheless always equivalent to coupling as it is found in the module-based (classical) paradigm.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Coupling and Cohesion in Object-Oriented Systems

Object-oriented system development is gaining wide attention both in research environments and in industry. A severe problem encountered, however, is the quickly increasing complexity of such systems and the lack of adequate criteria and guidelines for \good" designs. To cope with this problem, it is imperative to better understand the properties and characteristics of object-oriented systems. ...

متن کامل

Cohesion and coupling measures for aspect oriented systems

Software metrics aim to measure the inherent complexity of software systems with a view toward predicting the overall project cost and evaluating the quality and effectiveness of the design. Aspect Oriented Software design is an emerging paradigm that provides new mechanisms to support the modularization of concerns, which otherwise would crosscut the OO system decomposition. There are various ...

متن کامل

Coupling and Cohesion Measures in Object Oriented Programming

Many coupling and cohesion measures have been introduced in various surveys to identify and measure the design complexity of object oriented systems.A large numbers of metrics have been built and proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling.The coupling is an important aspect in the evaluation of reusability and maintainability o...

متن کامل

Empirical Exploration for the Correlation between Class Object-Oriented Connectivity-Based Cohesion and Coupling

Attributes and methods are the basic contents of an object-oriented class. The connectivity among these class members and the relationship between the class and other classes play an important role in determining the quality of an object-oriented system. Class cohesion evaluates the degree of relatedness of class attributes and methods, whereas class coupling refers to the degree to which a cla...

متن کامل

Degree of Coupling and Cohesion in Object Oriented Programming

Many coupling and cohesion measures have been introduced in various surveys to identify and measure the design complexity of object oriented systems. A large numbers of metrics have been built and proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling. The coupling is an important aspect in the evaluation of reusability and maintainability...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007